/* B站作品卡片容器 */
.bilibili-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 单个 B站作品卡片 */
.bilibili-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: calc(50% - 10px);
  position: relative;
}

.bilibili-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);

}

.bilibili-card img {
  width: 100%;
  height: auto;
  display: block;
}

.bilibili-card a {
  text-decoration: none; /* 取消超链接下划线 */
  color: inherit; /* 保持链接文字颜色与父元素一致 */
}

/* 卡片文字信息 */
.bilibili-card-info {
  padding: 15px;
}

.bilibili-card-info h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #333;
}

.bilibili-card-info p {
  font-size: 0.9rem;
  color: #777;
}

/* 夜间模式适配 */
.night-mode .bilibili-card {
  background: rgba(26, 26, 46, 0.8);
  color: #f0f0f0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.night-mode .bilibili-card-info h4,
.night-mode .bilibili-card-info p {
  color: #f0f0f0;
}
